﻿using System.Windows.Forms;

namespace SwimmingCompetitions
{
    abstract class CompetitionMode
    {
        public static CompetitionMode Current;

        /// <summary>
        /// Gets visible columns for displaying.
        /// </summary>
        public abstract ColumnState[] GetVisualModel();

        /// <summary>
        /// Handles user input to RaceView table.
        /// </summary>
        public abstract void ProcessCellChanged(CompetitionModel.RaceData data, DataGridViewCellEventArgs e);
    }
}
